package com.newtouch.bxzs.database.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 添加或者修改角色参数Vo:
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/4 14:24</td>
 * <td>zhangqianyang</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author zhangqianyang
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("添加或者修改角色参数VO")
public class UpdateRoleVO {

    @ApiModelProperty(value = "角色id，新增时为空，修改时必传",example = "11")
    private String roleId;

    @ApiModelProperty(value = "角色名称，必传",example = "11",required = true)
    private String roleName;

    @ApiModelProperty(value = "角色编码，必传",example = "11",required = true)
    private String roleCode;

    @ApiModelProperty(value = "角色所属终端，必传",example = "11",required = true)
    private String terminalType;

    @ApiModelProperty(value = "角色描述",example = "11",required = true)
    private String roleDescription;

    @ApiModelProperty(value = "菜单id对应按钮id数组")
    private List<MenuButtonVO> menuIdList;

    @ApiModelProperty(value = "操作类型，1新增/修改，2授权")
    private String operationType;
}
